Understanding the command-line arguments

The Meridian Enterprise desktop client applications support command-line arguments that open the applications with either a specified object or the results of specified search criteria. You can use the command line to create desktop shortcuts or to run the startup search anywhere that a command line is accepted.

To use the command-line arguments:

  1. Create a shortcut or open a command-line window.
  2. Specify the path to the PowerUser executable. For example, for 64-bit:

    "C:\Program Files\BC-Meridian\Program\PowerUser.exe"

    Or for 32-bit:

    "C:\Program Files (x86)\BC-Meridian\Program\PowerUserU.exe"

  3. Specify the command-line arguments using the descriptions in the following table.
Command-line arguments
Argument Description

/AMFS

The vault in which to find the objects specified by the other command-line arguments. Use the following syntax:

/AMFS=M-<ServerName>,D-<DatastoreName>,S-<VaultName>

For example:

/AMFS=M-EngServer,D-MyCompany,S-BigVault

/O

The ID of the object where you want to application to open. To specify the ID of a document, use its Document ID value. To specify the ID of a folder, use the Parent Folder ID value of a document or subfolder contained in the folder. If this argument is specified, do not specify the /DT or /PF arguments.

/DT

Document type search criteria specified as a list of the internal or display names of the documents types in which to search.

For example:

/DT="GenericDocument,Drawing,EmailDocType"

This argument may be specified in combination with the /PF argument. If this argument is specified, do not specify the /O argument.

/PF

Property search criteria specified using the following syntax:

/PF=<PropertySet.PropertyName>,<PropertyValue>,<Operator>

For example:

/PF="Custom.DrawingNumber,D-09-12345,OP_STARTWITH"

The Operator argument is specified as a shortened version of one of the IC_OPERATOR constants that can be found in the Constants branch of the Object Browser in the Meridian Enterprise VBScript Editor. The default is OP_EQUALS.

This argument may be specified in combination with the /DT argument. If this argument is specified, do not specify the /O argument.

An example of a complete command line that opens PowerUser and searches for documents of a specific document type and that have specific property values is:

"C:\Program Files\BC-Meridian\Program\PowerUser.exe" /AMFS=M-PRECISION,D-TM,S-TM /DT=Submittal /PF="AMDocumentWorkflowPropertySet.Status,Under Change,OP_EQUALS"

The preceding example would open PowerUser directly to a list of documents of the Submittal document type that have the value Under Change for the Status property.

The results of opening the vault with command line arguments will be shown in a view named Startup Search.